
import React from 'react';

export default class Image extends React.Component{




    render() {
        return (
            <div style={
                {
                    display:'inline-block'
                }
            }>
                <img
                    onClick={()=>this.props.handleUpImg(this.props.idx)}
                    style={
                        {
                            width:"100px",
                            height:'100px',
                            marginRight:'10px'
                        }
                    }
                    src={this.props.url} alt=""/>
            </div>
        )
    }
}